﻿using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;


namespace AbpBuild.LawManage
{
    [Table("LawAuthority")]
    public class LawAuthority : Entity<string>
    {
        public LawAuthority()
        {
            this.Id = Guid.NewGuid().ToString("N");
            childLawAuthority = new List<LawAuthority>();
        }
        public string name { get; set; } //
        public string pid { get; set; } //
        public int levels { get; set; } //
        public long? count { get; set; }  //"10",
        public LawAuthority parentLawAuthority { get; set; }
        public virtual ICollection<LawAuthority> childLawAuthority { get; set; }
    }
}
